def decrypted_chr(encrypted_content: str):
    # ASCII
    # print(chr(97), chr(122))
    # print(chr(65),chr(90))
    tran_map = {
        "y": "a", "z": "b", "Y": "A", "Z": "B"
    }
    for alnum in range(24):
        tran_map[chr(97 + alnum)] = chr(97 + 2 + alnum)
        tran_map[chr(65 + alnum)] = chr(65 + 2 + alnum)

    decryped_content = []
    for i in encrypted_content:
        decryped_content.append(tran_map[i]) if i.isalnum() else decryped_content.append(i)
    print("".join(decryped_content))

def decrypted_ord(encrypted_content: str):
    decryped_content = ""
    tran_map = {
        "y": "a", "z": "b", "Y": "A", "Z": "B"
    }
    for i in encrypted_content:
        if i.isalnum():
            map_v = tran_map.get(i)
            if map_v:
                decryped_content += map_v
            else:
                decryped_content += chr(ord(i)+2)
        else:
            decryped_content += i
    print(decryped_content)
if __name__ == '__main__':

    encrypted_content = "g fmnc wms bgbl'r rpylqjyrc gr zw fylb. rfyrq ufyr amknsrcpq ypc dmp. bmgle gr gl zw fylb gq glcddgagclr ylb rfyr'q ufw rfgq rcvr gq qm jmle. sqgle qrpgle.kyicrpylq() gq pcamkkclbcb. lmu ynnjw ml rfc spj."
    decrypted_chr(encrypted_content)
    decrypted_ord(encrypted_content)
